<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layui</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="robots" content="noindex,nofollow" /> 
  <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css"  media="all">
  <link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome.min.css" media="all" />
  <link rel="stylesheet" href="__CSS__/common.css"  media="all">
  <style>
    body{
      padding:20px;
    }
    .layui-collapse,.layui-colla-content td{
      border:none !important; 
    }
    .layui-colla-content td{
      padding-bottom: 10px !important;
    }
    .layui-colla-item{
      background-color:#F5F8FD;
      border:none !important;
      margin-bottom: 20px;
    }
    .layui-colla-item .layui-colla-title{
      font-weight: bold;
      color:#475669;
    }
    .layui-colla-content{
      background-color:#fff !important;
      border:none !important;
    }
  </style>
</head>
<body>
  <h2 class="comm-title">权限预览</h2>
  <div class="layui-form-item">
  <div class="layui-collapse" lay-accordion="">
    <div id="test12" class="demo-tree-more"></div>
    
  </div>
</div>


<script src="__PUBLIC__/layui/layui.js"></script>
<script src="__PUBLIC__/jquery/jquery.min.js"></script>
<script>
    layui.use(['layer', 'tree', 'util', 'upload'], function () {
      var upload = layui.upload,
      tree = layui.tree,
      layer = layui.layer,
      util = layui.util;
      tree.render({
        elem: '#test12',
        data: {$lists},
        showCheckbox: true,
        id: 'demoId1'
      });


    })
    
</script>
</body>
</html>